package com.ushine.design.design.c_behavioral_pattern.g_observer.a_practice;

public class ConcreteSubject extends Subject {
    //实现通知方法
    @Override
    public void notifyObserver() {
        //遍历观察者对象
        for (Observer observer : observers) {
            observer.update();
        }
    }

}
